Post

Replies

Boosts

Views

Activity

Reply to Process replayd killed by jetsam reason highwater
I found the problem through 'Activity Monitor' of 'Instruments' tool from xcode. It seems that the system process 'replayd' has a 20MB~30MB memory leaked when finish broadcasting through RPBroadcastSampleHandler's finishBroadcastWithError method. There is no such memory leak when stop the extension via control center button. The iOS 13 upto the latest version of iOS have the same issue. When App begin and finish broadcasting many times, the memory usage of 'replayd' background process is glow. The 'replayd' background process may killed by jetsam highwater because of OOM memory status checking during broadcasting and cause stop broadcasting unexpectedly.
Jul ’22